package com.wl.org.service;

import com.wl.basic.service.BaseService;
import com.wl.basic.util.PageList;
import com.wl.org.domain.Employee;
import com.wl.org.query.EmployeeQuery;

import java.util.List;

public interface EmployeeService extends BaseService<Employee> {
    /**
     * 保存一个对象
     * @param employee
     *//*
    void save(Employee employee);

    *//**
     * 移除一个对象
     * @param id
     *//*
    void remove(Long id);

    *//**
     * 更新一个对象
     * @param employee
     *//*
    void update(Employee employee);

    *//**
     * 加载一个对象
     * @param id
     * @return
     *//*
    Employee loadById(Long id);

    *//**
     * 加载所有对象
     * @return
     *//*
    List<Employee> loadAll();
    PageList<Employee> queryPage(EmployeeQuery employeeQuery);

    *//**
     * 批量删除
     * @param ids
     *//*
    void removeA(List<Long> ids);*/

    /**
     *
     * @return
     */
    List<Employee> loadAll();

    /**
     *
     * @param employeeQuery
     * @return
     */
    PageList<Employee> queryPage(EmployeeQuery employeeQuery);
}
